//
//  EnterpriseDescViewController.swift
//  E-CycleForShop
//
//  Created by enghou on 17/3/10.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//

import UIKit

class EnterpriseDescViewController: BaseViewController {

    var url : String = ""
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.naviHide = false
        self.title = "企业介绍"
        self.defaultBackButton()
        let web = UIWebView.init(frame: CGRect.init(origin: CGPoint.zero, size: CGSize.init(width: YXDeviceWidth, height: YXDeviceHeight - 64)))
        web.backgroundColor = UIColor.colorWithHexString(hex: "ececec")
        if let webURL = URL.init(string: url) {
            let request = URLRequest.init(url: webURL)
            web.loadRequest(request)
        }
        self.view.addSubview(web)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
